<?php
/* @var $this BuildingconstructionController */
/* @var $model Buildingconstruction */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'buildingconstruction-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'NoOfStorey'); ?>
		<?php echo $form->textField($model,'NoOfStorey'); ?>
		<?php echo $form->error($model,'NoOfStorey'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'HeightOfBldg'); ?>
		<?php echo $form->textField($model,'HeightOfBldg'); ?>
		<?php echo $form->error($model,'HeightOfBldg'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'PortionOccupied'); ?>
		<?php echo $form->textField($model,'PortionOccupied',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'PortionOccupied'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'AreaPerFlr'); ?>
		<?php echo $form->textField($model,'AreaPerFlr'); ?>
		<?php echo $form->error($model,'AreaPerFlr'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Beams'); ?>
		<?php echo $form->textField($model,'Beams',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'Beams'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Columns'); ?>
		<?php echo $form->textField($model,'Columns',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'Columns'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Flooring'); ?>
		<?php echo $form->textField($model,'Flooring',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'Flooring'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'TotalFlrArea'); ?>
		<?php echo $form->textField($model,'TotalFlrArea'); ?>
		<?php echo $form->error($model,'TotalFlrArea'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ExteriorWalls'); ?>
		<?php echo $form->textField($model,'ExteriorWalls',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'ExteriorWalls'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'CorridorWalls'); ?>
		<?php echo $form->textField($model,'CorridorWalls',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'CorridorWalls'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'RoomPartitions'); ?>
		<?php echo $form->textField($model,'RoomPartitions',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'RoomPartitions'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'MainStair'); ?>
		<?php echo $form->textField($model,'MainStair',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'MainStair'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Windows'); ?>
		<?php echo $form->textField($model,'Windows',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'Windows'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Ceiling'); ?>
		<?php echo $form->textField($model,'Ceiling',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'Ceiling'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'MainDoor'); ?>
		<?php echo $form->textField($model,'MainDoor',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'MainDoor'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Trusses'); ?>
		<?php echo $form->textField($model,'Trusses',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'Trusses'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Roof'); ?>
		<?php echo $form->textField($model,'Roof',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'Roof'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'TotalFlrAreaOccupied'); ?>
		<?php echo $form->textField($model,'TotalFlrAreaOccupied'); ?>
		<?php echo $form->error($model,'TotalFlrAreaOccupied'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Establishment_Id'); ?>
		<?php echo $form->textField($model,'Establishment_Id'); ?>
		<?php echo $form->error($model,'Establishment_Id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->